package io.xxx.xbutler.web.controller.form;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class UpdateTaskForm extends TaskForm {

    @NotNull(message = "任务ID不能空")
    private Long id;

    @NotNull(message = "更新人ID")
    private Long updatedId;

    @NotEmpty(message = "更新人名称")
    private String updatedName;
}
